/**
 * \class CLoader
 * \brief This is a loader for dynamic library.
 *
 * \version 0.1
 *
 * \author Woo-Hyun Kim (woorung@nhncorp.com, woorung@gmail.com)
 * \author http://blog.naver.com/wisereign .
 *
 * \date 2008/11/04
 */
// =============================================================
#ifndef CLoaderH
#define CLoaderH
//-----------------------------------------------------------------
#include <iostream>

#include <stdlib.h>
#include <stdio.h>
#include <dlfcn.h>

using namespace std;
//---------------------------------------------------------------
class CLoader {
private :
	void *handle;

protected :

public :
	CLoader(char *library);
	virtual ~CLoader();

	void *get_func(char *func_name);
};
//----------------------------------------------------------------
#endif
